#include "mcl/args.h"
#include "mcl/formatter.h"
#include <stdio.h>

void print_all(mcl_args_c *c);

int main(int argc, char **argv){
   /*
   mcl_args_c* c=0;
   
   //print_all(c);
   
   c= mcl_args_init( argv[0], 
                     "1.0", 
                     "A program that tests mcl_args lib", 
                     "For more information, visit http://sigh.asia/projects/mcl");
   
   mcl_args_add_defaults(c);
   mcl_args_add(c, "recursive", 'r', "Enable recursivness, which is meaningless in this context");
   mcl_args_add(c, "follow-links", 'f', "deal with file contents rather than symbloc link files, which is meaningless in this context");
   
   //print_all(c);
   
   int e = mcl_args_parse(c, argc, argv);
   e&&puts("bad args");
   
   #define sally(F) printf("%s: count: %d; start: %d;\n", F, mcl_args_get_count(c, F), mcl_args_get_start(c, F));
   sally("recursive");
   sally("follow-links");
   printf("%d arguments proceeded the first flag\n", mcl_args_get_before(c));
   
   mcl_args_fin(c);*/
   
   mcl_formatter_c *x = mcl_formatter_init();
   mcl_formatter_indent(x, "heloo my name is khan, and i like cheese!", 20);
   mcl_formatter_fin(x);
   return 0;
}
